package com.ruibang.glass.file.service;

import javax.servlet.http.HttpServletResponse;

/**
 * Export service for PDF and Word documents
 */
public interface ExportService {
    
    /**
     * Export HTML content to PDF
     * @param htmlContent HTML content to export
     * @param response HTTP response to write PDF to
     * @param fileName Name of the exported file
     */
    void exportToPdf(String htmlContent, HttpServletResponse response, String fileName);
    
    /**
     * Export HTML content to Word document
     * @param htmlContent HTML content to export
     * @param response HTTP response to write Word doc to
     * @param fileName Name of the exported file
     */
    void exportToWord(String htmlContent, HttpServletResponse response, String fileName);
} 